package cn.zye.msa.db;

import java.util.ArrayList;
import java.util.List;

public class ais_ship_po {
	int x;
	int y;
	String cn;
	String en;
	String mmsi;
	boolean online = true;
	String company;
	String course;
	String speed;
	List<ais_ship_po> gjList = null;

	public ais_ship_po copy(){
		ais_ship_po po = new ais_ship_po();
		po.setCn(this.getCn());
		po.setCompany(this.getCompany());
		po.setCourse(this.getCourse());
		po.setEn(this.getEn());
		po.setGjList(getGjList());
		po.setMmsi(this.getMmsi());
		po.setOnline(this.isOnline());
		po.setSpeed(this.getSpeed());
		po.setX(this.getX());
		po.setY(this.getY());
		return po;
	}
	public List<ais_ship_po> getGjList() {
		return gjList;
	}

	public void setGjList(List<ais_ship_po> gjList) {
		this.gjList = gjList;
	}
	public void addGJ(ais_ship_po po){
		if(this.gjList == null){
			this.gjList = new ArrayList<ais_ship_po>();
		}
		this.gjList.add(po);
	}

	public String getCourse() {
		return course;
	}

	public void setCourse(String course) {
		this.course = course;
	}

	public String getSpeed() {
		return speed;
	}

	public void setSpeed(String speed) {
		this.speed = speed;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public boolean isOnline() {
		return online;
	}

	public void setOnline(boolean online) {
		this.online = online;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public String getCn() {
		return cn;
	}

	public void setCn(String cn) {
		this.cn = cn;
	}

	public String getEn() {
		return en;
	}

	public void setEn(String en) {
		this.en = en;
	}

	public String getMmsi() {
		return mmsi;
	}

	public void setMmsi(String mmsi) {
		this.mmsi = mmsi;
	}
}
